//
//  MyAccountTableViewCell.m
//  NtoccDriverNew
//
//  Created by 张天兴 on 2024/8/20.
//  Copyright © 2024 GCY. All rights reserved.
//

#import "MyAccountTableViewCell.h"

@implementation MyAccountTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)fuzhiUI:(NSDictionary *)dic{
    self.nameLabel.text = dic[@"accountTypeDesc"];
    self.moneyLabel.text = CJStringWithFormat(@"%.2f",[dic[@"balance"] floatValue]);
    if ([dic[@"accountType"] intValue] == 1) {
        self.typeImagView.image = [UIImage imageNamed:@"selectedBarkKuaiq"];
    }else if ([dic[@"accountType"] intValue] == 0) {
        self.typeImagView.image = [UIImage imageNamed:@"selectdPuFBark"];
    }else{
        self.typeImagView.image = [UIImage imageNamed:@"guangdaBack"];
    }
}
@end
